const webpack = require('webpack')

module.exports = {
  devServer: {
    host: 'www.zhezhe.gzt.ico',
    port: 3232,
    disableHostCheck: true,
    proxy: {
      '/api': {
         target: 'http://www.zhezhe.gzt.ico:3231/api/',
         changeOrigin: true,
         ws: true,
         pathRewrite: {
           '^/api': ''
         }
      }
    }
  }
}
